/*
 * @Description:: 请补充填写
 * @Version: 请配置版本号
 * @Author: 小白
 * @Date: 2020-01-06 08:01:28
 * @LastEditors: smallWhite
 * @LastEditTime: 2024-03-15 10:12:33
 * @FilePath: /huizhou-management-end/src/api/baseUrl.js
 */
// const baseUrl = '/api'
let baseUrl
switch (process.env.NODE_ENV) {
  case 'development':
    baseUrl = 'http://api.csjs.hzsdjzyjsxx.com/'
    // baseUrl = 'https://90ce-61-176-96-198.ngrok-free.app'
    break
  case 'production':
    baseUrl = 'http://api.csjs.hzsdjzyjsxx.com/'
    break
}

/** *******
 * 请求路径地址列表
 */
// eslint-disable-next-line no-unused-vars
export const HTTP_URI = {
  BASE_URL: baseUrl,
  LOGIN: baseUrl + '/admin/login', // 登录
  UPDATEPASSWORD: baseUrl + '/admin/update', // 修改密码
  INITLANMU: baseUrl + '/project/init',
  IMAGESLIST: baseUrl + '/image/selectList',
  WANGEDITORIMG: baseUrl + '/img/upload/new',
  UPLOADIMG: baseUrl + '/img/upload',
  ADDIMAGES: baseUrl + '/image/add',
  DELIMAGES: baseUrl + '/image/delete',
  CONPANYONE: baseUrl + '/company/profile/selectOne',
  COMPANYUPDATE: baseUrl + '/company/profile/update',
  COMPANYADD: baseUrl + '/company/profile/add',
  COMPANYFAZHAN: baseUrl + '/developmentPath/selectList',
  COMPANYFAZHANADD: baseUrl + '/developmentPath/add',
  COMPANYFAZHANEDIT: baseUrl + '/developmentPath/update',
  COMPANYFAZHANDEL: baseUrl + '/developmentPath/delete',
  TEAMLIST: baseUrl + '/team/selectList',
  TEAMADD: baseUrl + '/team/add',
  TEAMEDIT: baseUrl + '/team/update',
  TEAMDEL: baseUrl + '/team/delete',
  CONTACTUS: baseUrl + '/contactUs/selectOne',
  CONTACTUSEDIT: baseUrl + '/contactUs/update',
  RESOURCESLIST: baseUrl + '/resources/selectList',
  RESOURCESADD: baseUrl + '/resources/add',
  RESOURCESEDIT: baseUrl + '/resources/update',
  RESOURCESDEL: baseUrl + '/resources/delete',
  RESOURCESINIT: baseUrl + '/resources/init',
  NEWSLIST: baseUrl + '/news/selectList',
  NEWSADD: baseUrl + '/news/add',
  NEWSEDIT: baseUrl + '/news/update',
  NEWSDEL: baseUrl + '/news/delete',
  TEAMBUILDING: baseUrl + '/resources/selectList',
  TEAMBUILDINGEDIT: baseUrl + '/resources/update',
  TEAMBUILDINGADD: baseUrl + '/resources/add',
  TEAMBUILDINGDEL: baseUrl + '/resources/delete',
  ZHAOPINLIST: baseUrl + '/recruitment/selectList',
  ZHAOPINADD: baseUrl + '/recruitment/add',
  ZHAOPINEDIT: baseUrl + '/recruitment/update',
  ZHAOPINDEL: baseUrl + '/recruitment/delete',

  MENULIST: baseUrl + '/project/selectList',
  MENUADD: baseUrl + '/project/add',
  MENUEDIT: baseUrl + '/project/update',
  MENUDEL: baseUrl + '/project/delete',

  PARTYSETTING:baseUrl+'/party/selectList',
  PARTYADD:baseUrl+'/party/add',
  PARTYEDIT:baseUrl+'/party/update',
  PARTYDEL:baseUrl+'/party/delete',

  PARTYLIST:baseUrl+'/link/selectList',
  PARTYADD:baseUrl+'/link/add',
  PARTYEDIT:baseUrl+'/link/update',
  PARTYDEL:baseUrl+'/link/delete',

  PARTYCONFIG:baseUrl+'/link/updateConf'
}
export default HTTP_URI
